﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GameMain : MonoBehaviour {

    private void Awake()
    {
        LuaServer.Init();

        ObjectManager.Instance.Init();
        LoadManager.Instance.Init();
        LuaManager.Instance.Init();
        ServerManager.Instance.Init();

        LuaManager.Instance.LoadMainLua();
    }
	
	// Update is called once per frame
	void Update () {
        LuaServer.OnUpdate();
    }
}
